package com.zhangshuo.patternDesign.decorator;

/**
 * Created by shuo.zhang on 2017-10-23.
 */
public abstract class AbstarctDecorator implements IComponent {

    private IComponent component;

    public AbstarctDecorator(IComponent component){
        this.component = component;
    }


    @Override
    public void method() {
        component.method();

    }
}
